﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace borkoSi.ViewModels
{
    public class HomeViewModel
    {

        // proverbs
        public string ProverbAuthor { get; set; }
        public string ProverbContent { get; set; }
        public string ProverbLink { get; set; }

        public List<UserBirthday> Birthdays { get; set; }
        public List<Article> Articles { get; set; }

        public string GallerySetNumber { get; set; }
        public int GalleryId { get; set; }
    }

    public class UserBirthday
    {
        public string Name { get; set; }
        public DateTime Date { get; set; }
        public int Day { get; set; }
        public int Month { get; set; }
        public int Year { get; set; }
        public int Hour { get; set; }
        public int Minute { get; set; }
        public int Second { get; set; }

        public UserBirthday()
        {
            // empty constructor
        }
    }

    public class Article
    {
        public int NewsId { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public DateTime DateCreated { get; set; }
        public string NewsIdRoman { get; set; }
        public int GalleryId { get; set; }

        public Article()
        {
            // empty constructor    
        }
    }
}
